package com.kkb.robotcustomerservice.service.impl;

import com.kkb.robotcustomerservice.dao.EnterpriceDao;
import com.kkb.robotcustomerservice.entities.Enterprice;
import com.kkb.robotcustomerservice.service.EnterpriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class EnterpriceServiceImpl implements EnterpriceService {

    @Autowired
    private EnterpriceDao enterpriceDao;


    @Override
    public Enterprice findLogo(Integer id) {
         return enterpriceDao.selectById(id);
    }

    @Override
    public int updateLogo(Map map) {
        return enterpriceDao.updateLogo(map);
    }

    @Override
    public Enterprice getById(Integer id) {
        return enterpriceDao.getById(id);
    }

}
